


//
//  WFSetCell_fourth.m
//  谷居
//
//  Created by dllo on 16/6/30.
//  Copyright © 2016年 刘万方. All rights reserved.
//

#import "WFSetCell_fourth.h"
#import "Masonry.h"
@implementation WFSetCell_fourth

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if ([super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self createCell];
    }
    return self;
}
- (void)createCell {
    _midLabel = [[UILabel alloc] init];
    [self.contentView addSubview:_midLabel];
    [_midLabel release];
}

- (void)layoutSubviews {
    [super layoutSubviews];
    [_midLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.center.equalTo(self.contentView);
        make.height.equalTo(self.contentView);
        make.width.greaterThanOrEqualTo(@60);
    }];
}
@end
